package com.book.app.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.book.app.entity.Category;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (Category)表数据库访问层
 *
 * @author wjy
 * @since 2021-09-22 08:48:13
 */
public interface CategoryDao extends BaseMapper<Category> {

    Integer findIdByName(@Param("catename") String catename);

    List<Category> getCateBook();
}

